import Vue from 'vue'

// import style
import './styles/reset.css'
import './styles/theme.css'
import './styles/glob.css'

import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'

import App from './App.vue'

// 关闭生产提示
Vue.config.productionTip = false

// 引入VueRouter
import VueRouter from 'vue-router'
// 引入路由器
import router from './router/index.js'
// 应用插件
Vue.use(VueRouter)
// element-ui@2 组件内部默认使用中文
Vue.use(ElementUI)

const vm = new Vue({
    render: (h) => h(App),
    router
})
vm.$mount('#app')
